package strategies

import (
	"gitee.com/boxigg/ctpredis"
	"gitee.com/boxigg/strategy"
)

type StraDMA struct {
	*strategy.StraBase
}

func NewStraDMA(instrument string, mode strategy.ModeType,
	params map[string]strategy.Param, rdb *ctpredis.StraRedis) *StraDMA {
	sd := new(StraDMA)
	sd.StraBase = strategy.NewStra(instrument, mode, params, rdb)
	return sd
}
